package cn.kgc.tangcco.anyang.pojo;

import java.util.Date;
import java.util.List;

import cn.kgc.tangcco.anyang.commons.uuid.BaseIdUtils;

/**
 * @author 李昊哲
 * @version v1.0<br>
 *          创建时间: 2019年10月29日 上午9:21:16<br>
 *          类描述: 员工信息
 */
public class Emp {
	/**
	 * 员工主键ID
	 */
	private int id;
	/**
	 * 员工唯一标示符
	 */
	private String uuid;
	/**
	 * 员工姓名
	 */
	private String nickname;
	/**
	 * 员工性别 性别 1男 2女
	 */
	private int gender;
	/**
	 * 员工生日
	 */
	private Date birthday;
	/**
	 * 员工手机号
	 */
	private String mobile;
	/**
	 * 系统密码
	 */
	private String password;
	/**
	 * 所在部门信息
	 */
	List<Dept> deptList;
	
	public Emp() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Emp(int gender, String mobile, String password) {
		super();
		this.uuid = BaseIdUtils.simpleUUID64();
		this.nickname = mobile;
		this.gender = gender;
		this.mobile = mobile;
		this.password = password;
	}

	public Emp(int id, String uuid, String nickname, int gender, Date birthday, String mobile, String password,
			List<Dept> deptList) {
		super();
		this.id = id;
		this.uuid = uuid;
		this.nickname = nickname;
		this.gender = gender;
		this.birthday = birthday;
		this.mobile = mobile;
		this.password = password;
		this.deptList = deptList;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public List<Dept> getDeptList() {
		return deptList;
	}

	public void setDeptList(List<Dept> deptList) {
		this.deptList = deptList;
	}

}
